package com.dc.business.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  xiaofei
 * @Date 2019-11-26 
 */

@Data
@ApiModel ( value ="计划明细表" )
public class PlanDetail implements Serializable {

	private static final long serialVersionUID =  4900900504606124311L;

	/**
	 * 计划明细id
	 */
   	@ApiModelProperty(value = "计划明细id" )
	private int detailId;

	/**
	 * 外键计划id
	 */
   	@ApiModelProperty(value = "外键计划id" )
	private int fkPlanId;

	/**
	 * 外键设备id
	 */
   	@ApiModelProperty(value = "外键设备id" )
	private int fkDeviceId;

	/**
	 * 设备阶段
	 */
   	@ApiModelProperty(value = "设备阶段" )
	private int deviceStage;

	/**
	 * 设备规格
	 */
   	@ApiModelProperty(value = "设备规格" )
	private String deviceSpecifications;

	/**
	 * 计划开始时间
	 */
   	@ApiModelProperty(value = "计划开始时间" )
	private Date planStartTime;

	/**
	 * 计划完成时间
	 */
   	@ApiModelProperty(value = "计划完成时间" )
	private Date planEndTime;

	/**
	 * 开始时间
	 */
   	@ApiModelProperty(value = "开始时间" )
	private Date startTime;

	/**
	 * 结束时间
	 */
   	@ApiModelProperty(value = "结束时间" )
	private Date endTime;

	/**
	 * 上砖数
	 */
   	@ApiModelProperty(value = "上砖数" )
	private int brickNum;

	/**
	 * 分级产量
	 */
   	@ApiModelProperty(value = "分级产量" )
	private int levelNum;

	/**
	 * 损耗数
	 */
   	@ApiModelProperty(value = "损耗数" )
	private int errorNum;

	/**
	 * 合格数
	 */
   	@ApiModelProperty(value = "合格数" )
	private int qualityNum;

	/**
	 * 一级数
	 */
   	@ApiModelProperty(value = "一级数" )
	private int level1Num;

	/**
	 * 优等数
	 */
   	@ApiModelProperty(value = "优等数" )
	private int firstRateNum;

	/**
	 * 优等率
	 */
   	@ApiModelProperty(value = "优等率" )
	private String excellenceRateNum;

	/**
	 * 累计完成数量/M²
	 */
   	@ApiModelProperty(value = "累计完成数量/M²" )
	private int cumulativeNum;

	/**
	 * 生产时间
	 */
   	@ApiModelProperty(value = "生产时间" )
	private Date productionTime;

	/**
	 * 未完成数量/M²
	 */
   	@ApiModelProperty(value = "未完成数量/M²" )
	private int cumulativeNoNum;

	/**
	 * 完成率
	 */
   	@ApiModelProperty(value = "完成率" )
	private Double completionRate;

	/**
	 * 非数据库字段
	 */
	@ApiModelProperty(value = "设备名称")
	private String DeviceName;
}
